
import axios from '../../../utils/request'
import * as Types from "./actionTypes"
export const loginAc = (formData) => {
    return dispatch => {
        return axios.post('/api/login', formData)
    }
}
export const syncInfoAc = (data) => {
    console.log("action action>>>>>>>>>>>>>",data);
    return {
        type: Types.SYNC_STATE_INFO,
        payload: data
    }
}
